#

| Chapter 2 UNIX Commands |

## cal

    cal [[month] year]

With no arguments, print a calendar for the current month. Otherwise, print either a 12-month calendar (beginning with January) for the given `year` or a one-month calendar of the given `month` and `year`. `month` ranges from 1 to 12. `year` ranges from 1 to 9999.

### Examples

>     cal 12 1994
>     cal 1994 > year_file

Reference: bfs |  | Reference: calendar